package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class ChannelModeChangePacket implements ISendableIRCPacket 
	{
		
		private var _channel:String;
		private var _modes:String;
		
		public function ChannelModeChangePacket(channel:String, modes:String) 
		{
			_channel = channel;
			_modes = modes;
		}
		
		public function getMessage():String
		{
			return ":" + Config.CHATSERV_NICK + "!~" +  Config.CHATSERV_NICK +"@" + Config.CHATSERV_NICK + Config.IRC_USER_HOST + " MODE " + _channel + " " + _modes + "\n";
		}
		
	}

}